package com.sky.mapper;

import com.sky.entity.Customer;
import com.sky.entity.OrderRoom;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CustomerMapper {
    @Insert("insert into sky_take_out.customer(name,serect) VALUES (#{name},#{serect})")
    void register(Customer customer);
    @Insert("insert into sky_take_out.order_room(roomID, number, price,customername) values (#{roomID},#{number},#{price},#{customername})")
    void order(OrderRoom orderRoom);
}
